package com.edu.mongodb.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.edu.mongodb.dao.BaseMongoDao;
import com.edu.mongodb.service.MongoDBService;

@Service
public class MongoDBServiceImpl<T> implements MongoDBService{
	
	@Autowired
	private BaseMongoDao mongoDao;

	@Override
	public <T> void save(T pEntity) {
		mongoDao.save(pEntity);
	}

}
